<template>
  <el-container class="home_container">
    <el-header>
      <my-header />
    </el-header>
    <!-- 侧边栏和内容区 -->
    <el-container>
      <my-nav></my-nav>
      <my-main></my-main>
    </el-container>
  </el-container>
</template>

<script type="text/ecmascript-6">
import MyHeader from './Layout/MyHeader.vue'
import MyNav from './Layout/MyNav.vue'
import MyMain from './Layout/MyMain.vue'

export default {
  name: 'Index',
  components: {
    MyHeader,
    MyNav,
    MyMain,
  }
}
</script>

<style lang="less" scoped>
.home_container {
  height: 100%;
}
.el-header {
  background-color: #373d41;
  padding-left: 0;
}
</style>
